package com.lkc.domain.entity;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;

/**
 * (Question)表实体类
 *
 * @author 椰咩咩咩
 * @since 2022-12-27 23:43:17
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ymm_question")
@Accessors(chain = true)
public class Question  {
        
    @TableId
    private Long id;

    //题目的题干
    private String title;
    //答案的个数
    private Integer answerNum;
    //题目的答案
    private String answer;
    //题目的类型（0单选，1判断，2填空，3多选）
    private String type;
    //A选项
    private String a;
    //B选项
    private String b;
    //C选项
    private String c;
    //D选项
    private String d;
    //逻辑删除
    private Integer delFlag;


    @TableField(exist = false)
    private Integer score;

    @TableField(exist = false)
    private Long examId;


}
